package cn.itcast.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class Book implements Serializable{
    private Integer id;
    private String bookname;
    private Integer kind_id;
    private String author;
    private String company;
    private Double price;
    private Kind kind;
    private List<Kind> list;
    private Map<String,Kind> map;
    private Date date;

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", bookname='" + bookname + '\'' +
                ", kind_id=" + kind_id +
                ", author='" + author + '\'' +
                ", company='" + company + '\'' +
                ", price=" + price +
                ", kind=" + kind +
                ", list=" + list +
                ", map=" + map +
                ", date=" + date +
                '}';
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public Integer getKind_id() {
        return kind_id;
    }

    public void setKind_id(Integer kind_id) {
        this.kind_id = kind_id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Kind getKind() {
        return kind;
    }

    public void setKind(Kind kind) {
        this.kind = kind;
    }

    public List<Kind> getList() {
        return list;
    }

    public void setList(List<Kind> list) {
        this.list = list;
    }

    public Map<String, Kind> getMap() {
        return map;
    }

    public void setMap(Map<String, Kind> map) {
        this.map = map;
    }

}
